package cn.com.assistant.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "用户访问简单对象")
public class QueryEntity {

    @ApiModelProperty(value = "session保存机器人的历史会话信息")
    private String sessionId;

    @ApiModelProperty(value = "通过API Key和Secret Key获取的access_token", required = true)
    private String accessToken;

    @ApiModelProperty(value = "用户所问问题", required = true)
    private String question;

    @ApiModelProperty(value = "开发者为其用户分配的id，用于区别开发者的每个最终用户", required = true)
    private String terminalId;

    @ApiModelProperty(value = "机器人ID", required = true)
    private String serviceId;

    @ApiModelProperty(value = "开发者需要在客户端生成的唯一id，用来定位请求，响应中会返回该字段。对话中每轮请求都需要一个log_id", required = true)
    private String logId;


}